package com.winderinfo.yikaotianxia.ui.shoppingcart;

import java.util.List;

public class ShoppingcartBean {

    /**
     * msg : 操作成功
     * code : 0
     * ykCartList : [{"id":1,"goodsId":1,"userId":1,"ykGoods":{"id":1,"type":"3","pId":1,"title":"播音教材","photo":"http://192.168.63.11:8081/YK/profile/rotation/微信图片_20190716173355.jpg","price":1000,"preferential":"","tuijian":"1","jingpin":"0","star":"4","bookType":"0","details":"<p><b>安安哒所大所多&nbsp;<\/b><img src=\"http://ic.winderinfo.com:8090/IC/profile/rotation/g.jpg\"><\/p>","coursenum":null,"code":"111111","courses":null,"free":"1","buyNum":100,"learnNum":100,"authorId":1,"status":"0","createtime":"2019-07-24 18:28:20","createtime1":null,"createtime2":null,"createuser":"董忌傲","videonum":0,"yikannum":0,"xuexitime":null,"ykAuthor":null,"banxin":null,"ykProfessional":null,"area":null,"pid":1}}]
     */

    private String msg;
    private int code;
    private List<YkCartListBean> ykCartList;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<YkCartListBean> getYkCartList() {
        return ykCartList;
    }

    public void setYkCartList(List<YkCartListBean> ykCartList) {
        this.ykCartList = ykCartList;
    }

    public static class YkCartListBean {
        /**
         * id : 1
         * goodsId : 1
         * userId : 1
         * ykGoods : {"id":1,"type":"3","pId":1,"title":"播音教材","photo":"http://192.168.63.11:8081/YK/profile/rotation/微信图片_20190716173355.jpg","price":1000,"preferential":"","tuijian":"1","jingpin":"0","star":"4","bookType":"0","details":"<p><b>安安哒所大所多&nbsp;<\/b><img src=\"http://ic.winderinfo.com:8090/IC/profile/rotation/g.jpg\"><\/p>","coursenum":null,"code":"111111","courses":null,"free":"1","buyNum":100,"learnNum":100,"authorId":1,"status":"0","createtime":"2019-07-24 18:28:20","createtime1":null,"createtime2":null,"createuser":"董忌傲","videonum":0,"yikannum":0,"xuexitime":null,"ykAuthor":null,"banxin":null,"ykProfessional":null,"area":null,"pid":1}
         */

        private int id;
        private int goodsId;
        private int userId;
        private YkGoodsBean ykGoods;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public YkGoodsBean getYkGoods() {
            return ykGoods;
        }

        public void setYkGoods(YkGoodsBean ykGoods) {
            this.ykGoods = ykGoods;
        }

        public static class YkGoodsBean {
            /**
             * id : 1
             * type : 3
             * pId : 1
             * title : 播音教材
             * photo : http://192.168.63.11:8081/YK/profile/rotation/微信图片_20190716173355.jpg
             * price : 1000
             * preferential :
             * tuijian : 1
             * jingpin : 0
             * star : 4
             * bookType : 0
             * details : <p><b>安安哒所大所多&nbsp;</b><img src="http://ic.winderinfo.com:8090/IC/profile/rotation/g.jpg"></p>
             * coursenum : null
             * code : 111111
             * courses : null
             * free : 1
             * buyNum : 100
             * learnNum : 100
             * authorId : 1
             * status : 0
             * createtime : 2019-07-24 18:28:20
             * createtime1 : null
             * createtime2 : null
             * createuser : 董忌傲
             * videonum : 0
             * yikannum : 0
             * xuexitime : null
             * ykAuthor : null
             * banxin : null
             * ykProfessional : null
             * area : null
             * pid : 1
             */

            private int id;
            private String type;
            private int pId;
            private String title;
            private String photo;
            private int price;
            private String preferential;
            private String tuijian;
            private String jingpin;
            private String star;
            private String bookType;
            private String details;
            private String coursenum;
            private String code;
            private String courses;
            private String free;
            private int buyNum;
            private int learnNum;
            private int authorId;
            private String status;
            private String createtime;
            private String createtime1;
            private String createtime2;
            private String createuser;
            private int videonum;
            private int yikannum;
            private String xuexitime;
            private String ykAuthor;
            private String banxin;
            private String ykProfessional;
            private String area;
            private int pid;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getPId() {
                return pId;
            }

            public void setPId(int pId) {
                this.pId = pId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getPreferential() {
                return preferential;
            }

            public void setPreferential(String preferential) {
                this.preferential = preferential;
            }

            public String getTuijian() {
                return tuijian;
            }

            public void setTuijian(String tuijian) {
                this.tuijian = tuijian;
            }

            public String getJingpin() {
                return jingpin;
            }

            public void setJingpin(String jingpin) {
                this.jingpin = jingpin;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getBookType() {
                return bookType;
            }

            public void setBookType(String bookType) {
                this.bookType = bookType;
            }

            public String getDetails() {
                return details;
            }

            public void setDetails(String details) {
                this.details = details;
            }

            public String getCoursenum() {
                return coursenum;
            }

            public void setCoursenum(String coursenum) {
                this.coursenum = coursenum;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getCourses() {
                return courses;
            }

            public void setCourses(String courses) {
                this.courses = courses;
            }

            public String getFree() {
                return free;
            }

            public void setFree(String free) {
                this.free = free;
            }

            public int getBuyNum() {
                return buyNum;
            }

            public void setBuyNum(int buyNum) {
                this.buyNum = buyNum;
            }

            public int getLearnNum() {
                return learnNum;
            }

            public void setLearnNum(int learnNum) {
                this.learnNum = learnNum;
            }

            public int getAuthorId() {
                return authorId;
            }

            public void setAuthorId(int authorId) {
                this.authorId = authorId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getCreatetime1() {
                return createtime1;
            }

            public void setCreatetime1(String createtime1) {
                this.createtime1 = createtime1;
            }

            public String getCreatetime2() {
                return createtime2;
            }

            public void setCreatetime2(String createtime2) {
                this.createtime2 = createtime2;
            }

            public String getCreateuser() {
                return createuser;
            }

            public void setCreateuser(String createuser) {
                this.createuser = createuser;
            }

            public int getVideonum() {
                return videonum;
            }

            public void setVideonum(int videonum) {
                this.videonum = videonum;
            }

            public int getYikannum() {
                return yikannum;
            }

            public void setYikannum(int yikannum) {
                this.yikannum = yikannum;
            }

            public String getXuexitime() {
                return xuexitime;
            }

            public void setXuexitime(String xuexitime) {
                this.xuexitime = xuexitime;
            }

            public String getYkAuthor() {
                return ykAuthor;
            }

            public void setYkAuthor(String ykAuthor) {
                this.ykAuthor = ykAuthor;
            }

            public String getBanxin() {
                return banxin;
            }

            public void setBanxin(String banxin) {
                this.banxin = banxin;
            }

            public String getYkProfessional() {
                return ykProfessional;
            }

            public void setYkProfessional(String ykProfessional) {
                this.ykProfessional = ykProfessional;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }
        }
    }
}
